(global.webpackJsonp = global.webpackJsonp || []).push([ [ "question/detail/wrongDetail" ], {
    "499a": function(e, n, t) {
        (function(e) {
            Object.defineProperty(n, "__esModule", {
                value: !0
            }), n.default = void 0;
            var i = t("26cb"), o = (t("a71e"), t("8434"), t("db8f")), s = t("9b63");
            function u(e, n) {
                var t = Object.keys(e);
                if (Object.getOwnPropertySymbols) {
                    var i = Object.getOwnPropertySymbols(e);
                    n && (i = i.filter(function(n) {
                        return Object.getOwnPropertyDescriptor(e, n).enumerable;
                    })), t.push.apply(t, i);
                }
                return t;
            }
            function a(e) {
                for (var n = 1; n < arguments.length; n++) {
                    var t = null != arguments[n] ? arguments[n] : {};
                    n % 2 ? u(Object(t), !0).forEach(function(n) {
                        r(e, n, t[n]);
                    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : u(Object(t)).forEach(function(n) {
                        Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
                    });
                }
                return e;
            }
            function r(e, n, t) {
                return n in e ? Object.defineProperty(e, n, {
                    value: t,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : e[n] = t, e;
            }
            var d = {
                components: {},
                data: function() {
                    return {
                        type: "",
                        index: 1,
                        total: "",
                        time: "00:00",
                        yes_num: 0,
                        wrong_num: 0,
                        score: 0,
                        currectAnswer: "",
                        userAnswer: "",
                        disabled: !0,
                        isShow: !1,
                        isShows: !1,
                        listTotal: [],
                        paper: {},
                        questionInfo: {
                            type: "",
                            title: "",
                            is_yd: !1,
                            yd_answer: "",
                            answer_data: "",
                            tx_answer: "",
                            question_data: []
                        },
                        totaltime: "00:00",
                        second: 0,
                        serviceClass: "",
                        checkClass: "",
                        rowwidth: "",
                        isShowTrue: !0,
                        mbshow: 0,
                        height: 0,
                        iSchoose: -1,
                        typeLx: ""
                    };
                },
                computed: a(a({}, (0, i.mapGetters)([ "mainColor" ])), {}, {
                    arrayEq: function() {
                        switch (this.questionInfo.type) {
                          case "2":
                          case "4":
                            return !(0, o.isEqual)(this.questionInfo.yd_answer, this.questionInfo.answer_data);
                        }
                    }
                }),
                created: function() {},
                onLoad: function(e) {
                    this.paper_id = e.id, this.typeLx = e.type, this.getQuestion();
                },
                onHide: function() {},
                destoryed: function() {},
                methods: {
                    ready: function() {},
                    showMb: function() {
                        var n = this;
                        this.serviceClass = "show", n.isShowTrue && (setTimeout(function() {
                            e.createSelectorQuery().select(".row").boundingClientRect(function(e) {
                                n.rowwidth = (e.width - 60) / 7 + "px", n.mbshow = n.listTotal.length;
                            }).exec();
                        }, 100), setTimeout(function() {
                            e.createSelectorQuery().select(".layer").boundingClientRect(function(e) {
                                n.height = e.height - 35 + "px";
                            }).exec();
                        }, 100), n.isShowTrue = !1);
                    },
                    select: function(e) {
                        var n = this;
                        this.index = e + 1, n.questionInfo = "", n.questionInfo = n.listTotal[this.index - 1], 
                        this.hideService();
                    },
                    hideService: function() {
                        var e = this;
                        this.serviceClass = "hide", setTimeout(function() {
                            e.serviceClass = "none";
                        }, 100);
                    },
                    pre: function() {
                        var e = this;
                        if (1 == e.index) return !1;
                        this.isShow = !1, e.listTotal[e.index - 1] = e.questionInfo, e.index--, e.questionInfo = "", 
                        3 == e.listTotal[e.index - 1].type && (e.iSchoose = 1 == e.listTotal[e.index - 1].yd_answer ? 1 : 0 == e.listTotal[e.index - 1].yd_answer ? 0 : -1), 
                        e.questionInfo = e.listTotal[e.index - 1];
                    },
                    next: function() {
                        var e = this;
                        if (e.index == e.listTotal.length) return e.questionInfo.is_yd || (e.questionInfo.tx_answer = !1), 
                        e.listTotal[e.index - 1] = e.questionInfo, !1;
                        this.isShow = !1, e.questionInfo.is_yd || (e.questionInfo.tx_answer = !1), e.listTotal[e.index - 1] = e.questionInfo, 
                        e.index++, e.listTotal[e.index - 1].hasOwnProperty("is_yd") ? (3 == e.listTotal[e.index - 1].type && (e.iSchoose = 1 == e.listTotal[e.index - 1].yd_answer ? 1 : 0 == e.listTotal[e.index - 1].yd_answer ? 0 : -1), 
                        e.questionInfo = "", e.questionInfo = e.listTotal[e.index - 1]) : e.computedQuest(e.index - 1);
                    },
                    getQuestion: function() {
                        var e = this, n = {
                            id: e.paper_id
                        };
                        1 == this.typeLx && (0, s.myWrongBookInfo)(n).then(function(n) {
                            e.listTotal = n.question_list, e.paper = n.paper, e.type = parseInt(n.paper.type), 
                            e.total = n.question_list.length, n.question_list.length > 0 && e.computedQuest(0);
                        }), 2 == this.typeLx && (0, s.myAnswerRecordInfo)(n).then(function(n) {
                            e.listTotal = n.question_list, e.paper = n.paper, e.yes_num = n.yes_num, e.wrong_num = n.wrong_num, 
                            e.type = parseInt(n.paper.type), e.total = n.question_list.length, n.question_list.length > 0 && e.computedQuest(0);
                        });
                    },
                    load: function() {
                        this.isShow = !0, this.isShows = !0;
                    },
                    hideCheck: function() {},
                    discard: function() {},
                    computedQuest: function(e) {
                        var n = this;
                        n.questionInfo = "", 3 == n.listTotal[e].type ? (n.iSchoose = 1 == n.listTotal[n.index - 1].yd_answer ? 1 : 0 == n.listTotal[n.index - 1].yd_answer ? 0 : -1, 
                        n.questionInfo = n.listTotal[e]) : n.questionInfo = n.listTotal[e];
                    },
                    getAZ: function(e) {
                        return [ "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" ][e];
                    }
                }
            };
            n.default = d;
        }).call(this, t("543d").default);
    },
    "695c": function(e, n, t) {
        var i = t("a89e");
        t.n(i).a;
    },
    "73f8": function(e, n, t) {
        t.r(n);
        var i = t("499a"), o = t.n(i);
        for (var s in i) "default" !== s && function(e) {
            t.d(n, e, function() {
                return i[e];
            });
        }(s);
        n.default = o.a;
    },
    9972: function(e, n, t) {
        t.r(n);
        var i = t("e973"), o = t("73f8");
        for (var s in o) "default" !== s && function(e) {
            t.d(n, e, function() {
                return o[e];
            });
        }(s);
        t("695c");
        var u = t("f0c5"), a = Object(u.a)(o.default, i.b, i.c, !1, null, "23d40b06", null, !1, i.a, void 0);
        n.default = a.exports;
    },
    a89e: function(e, n, t) {},
    c71f: function(e, n, t) {
        (function(e) {
            t("1067"), i(t("66fd"));
            var n = i(t("9972"));
            function i(e) {
                return e && e.__esModule ? e : {
                    default: e
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = t, e(n.default);
        }).call(this, t("543d").createPage);
    },
    e973: function(e, n, t) {
        t.d(n, "b", function() {
            return i;
        }), t.d(n, "c", function() {
            return o;
        }), t.d(n, "a", function() {});
        var i = function() {
            var e = this, n = (e.$createElement, e._self._c, 2 == e.questionInfo.type ? e.__map(e.questionInfo.question_data, function(n, t) {
                var i = e.__get_orig(n), o = 1 == e.type && -1 != e.questionInfo.answer_data.indexOf(n.index), s = 2 == e.type && -1 != e.questionInfo.answer_data.indexOf(n.index), u = o && e.questionInfo.is_yd || s && e.questionInfo.is_yd ? null : 1 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.index), a = o && e.questionInfo.is_yd || s && e.questionInfo.is_yd ? null : 2 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.index), r = 1 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.index), d = n.g4 && e.questionInfo.is_yd && -1 != e.questionInfo.answer_data.indexOf(n.index), f = 2 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.index), l = n.g6 && e.questionInfo.is_yd && -1 != e.questionInfo.answer_data.indexOf(n.index), c = d || l ? null : 1 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.index), y = d || l ? null : 2 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.index), _ = -1 != e.questionInfo.answer_data.indexOf(n.index) && e.questionInfo.is_yd, p = n.g10 && -1 != e.questionInfo.yd_answer.indexOf(n.index);
                return {
                    $orig: i,
                    g0: o,
                    g1: s,
                    g2: u,
                    g3: a,
                    g4: r,
                    g5: d,
                    g6: f,
                    g7: l,
                    g8: c,
                    g9: y,
                    g10: _,
                    g11: p,
                    g12: p ? null : e.questionInfo.yd_answer.indexOf(n.index)
                };
            }) : null), t = 4 == e.questionInfo.type ? e.__map(e.questionInfo.question_data, function(n, t) {
                var i = e.__get_orig(n), o = 1 == e.type && -1 != e.questionInfo.answer_data.indexOf(n.value), s = 2 == e.type && -1 != e.questionInfo.answer_data.indexOf(n.value), u = o && e.questionInfo.is_yd || s && e.questionInfo.is_yd ? null : 1 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.value), a = o && e.questionInfo.is_yd || s && e.questionInfo.is_yd ? null : 2 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.value), r = 1 == e.type && -1 != e.questionInfo.answer_data.indexOf(n.value), d = n.g17 && e.questionInfo.is_yd && -1 != e.questionInfo.yd_answer.indexOf(n.value), f = 2 == e.type && -1 != e.questionInfo.answer_data.indexOf(n.value), l = n.g19 && e.questionInfo.is_yd && -1 != e.questionInfo.yd_answer.indexOf(n.value), c = d || l ? null : 1 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.value), y = d || l ? null : 2 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.value), _ = 1 == e.type && -1 != e.questionInfo.answer_data.indexOf(n.value), p = n.g23 && e.questionInfo.is_yd && -1 != e.questionInfo.yd_answer.indexOf(n.value), q = 2 == e.type && -1 != e.questionInfo.answer_data.indexOf(n.value), w = n.g25 && e.questionInfo.is_yd && -1 != e.questionInfo.yd_answer.indexOf(n.value);
                return {
                    $orig: i,
                    g13: o,
                    g14: s,
                    g15: u,
                    g16: a,
                    g17: r,
                    g18: d,
                    g19: f,
                    g20: l,
                    g21: c,
                    g22: y,
                    g23: _,
                    g24: p,
                    g25: q,
                    g26: w,
                    g27: p || w ? null : 1 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.value),
                    g28: p || w ? null : 2 == e.type && -1 != e.questionInfo.yd_answer.indexOf(n.value)
                };
            }) : null, i = 2 == e.questionInfo.type ? e.questionInfo.answer_data.join("、") : null, o = 2 == e.questionInfo.type && null != e.questionInfo.yd_answer && "" != e.questionInfo.yd_answer && 0 != e.questionInfo.yd_answer.length ? e.questionInfo.yd_answer.join("、") : null;
            e.$mp.data = Object.assign({}, {
                $root: {
                    l0: n,
                    l1: t,
                    g29: i,
                    g30: o
                }
            });
        }, o = [];
    }
}, [ [ "c71f", "common/runtime", "common/vendor" ] ] ]);